Array

RefCounted, Array @nogc, OutputRange compatible, it aims to bring the same result as one would have by using int[], Array!int should be equivalent, any different behaviour should be contacted. It may use more memory than requested for not making reallocation a big bottleneck

Destructor

~this
~this()
Undocumented in source.

Postblit

this(this)
this(this)
Undocumented in source.

Members

Aliases

_opApplyFn
alias _opApplyFn = int delegate(ref T) @(nogc)
Undocumented in source.

Functions

dispose
void dispose()
Undocumented in source. Be warned that the author may not have intended to support it.
getRef
void* getRef()
Undocumented in source. Be warned that the author may not have intended to support it.
opApply
int opApply(_opApplyFn dg)
Undocumented in source. Be warned that the author may not have intended to support it.
opAssign
auto ref opAssign(Q value)
Undocumented in source. Be warned that the author may not have intended to support it.
opDollar
size_t opDollar()
Undocumented in source. Be warned that the author may not have intended to support it.
opEquals
bool opEquals(R other)
Undocumented in source. Be warned that the author may not have intended to support it.
opIndex
auto ref opIndex(size_t index)
Undocumented in source. Be warned that the author may not have intended to support it.
opOpAssign
auto ref opOpAssign(Q value)
Undocumented in source. Be warned that the author may not have intended to support it.
opSlice
T[] opSlice()
Undocumented in source. Be warned that the author may not have intended to support it.
opSlice
T[] opSlice(size_t start, size_t end)
Undocumented in source. Be warned that the author may not have intended to support it.
opSliceAssign
auto ref opSliceAssign(T value)
Undocumented in source. Be warned that the author may not have intended to support it.
opSliceAssign
auto ref opSliceAssign(T value, size_t start, size_t end)
Undocumented in source. Be warned that the author may not have intended to support it.
ptr
immutable(T*) ptr()
Undocumented in source. Be warned that the author may not have intended to support it.
put
void put(T data)
Undocumented in source. Be warned that the author may not have intended to support it.
reserve
void reserve(size_t newSize)

Guarantee that no allocation will occur for the specified reserve amount of memory

toString
String toString()
Undocumented in source. Be warned that the author may not have intended to support it.

Static functions

opCall
Array!T opCall(size_t capacity)
Undocumented in source. Be warned that the author may not have intended to support it.
opCall
Array!T opCall(size_t length, T value)
Undocumented in source. Be warned that the author may not have intended to support it.
opCall
Array!T opCall(T[] arr)
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

data
T* data;
Undocumented in source.
length
size_t length;
Undocumented in source.

Meta